package xj.graph2d.app.prop;

import static xj.app.BaseApplicationFrame.getResourceString;
import xj.graph2d.app.DrawApp;

public class UMLTransitionModelPane extends UMLBasicModelPane {

  public UMLTransitionModelPane(DrawApp main) {
    super(main);

    event = new ModelPropertiesPane.NameField("eventName", 
					      getResourceString("Event.text"));
    addRow(event);

    guard = new ModelPropertiesPane.NameField("guardText", 
					      getResourceString("Guard.text"));
    addRow(guard);

    action = new ModelPropertiesPane.NameField("actionBody", 
					       getResourceString("Action.text"));
    addRow(action);

    addBasicFields();

    addFiller();
  }

  protected ModelPropertiesPane.NameField event;

  protected ModelPropertiesPane.NameField action;

  protected ModelPropertiesPane.NameField guard;

}
